package myProj1;

public class Player {
	// player name
	private String name;
	// how many strikes that player currently has
	private int currStrikes;
	// how many games that player has won up to now
	private int gamesWon;

	public Player() {

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getCurrStrikes() {
		return currStrikes;
	}

	public void setCurrStrikes(int currStrikes) {
		this.currStrikes = currStrikes;
	}

	public int getGamesWon() {
		return gamesWon;
	}

	public void setGamesWon(int gamesWon) {
		this.gamesWon = gamesWon;
	}

	@Override
	public String toString() {
		return name;
	}

}